package com.buba.matter.dao;

import com.buba.matter.pojo.Price;
import com.buba.system.pojo.Page;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface PriceMapper {

    Long selPriceCount();

    List<Price> selPriceTable(Page<Price> page);

    Integer addPrice(Map<String, Object> map);

    Integer delPriceAll(List<String> list);

    Integer updPrice(Map<String, Object> map);

    List<Price> selMatterPriceByCondition(Map<String, Object> map);



    List<Price> selMatterPriceItemsNo(Map<String, Object> map);

    Integer selMatterPriceByNo(Map<String, Object> map);

    Long selCount(Map<String, Object> map);

    List<Price> selAllPrice(Map<String, Object> map);
}
